package com.fly.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Receipt {
    //任务回执单Id
    private Integer receiptId;
    //对应的任务Id  任务的实体对象
    private Task task;
    //对应塔Id  杆塔的实体对象
    private Pole pole;
    //巡查人员Id  巡检人员实体对象
    private Users user;
    //有无缺陷
    private String hasDefects;
    //巡检时间 任务下发后巡罗检查的时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkDate;

    public Integer getReceiptId() {
        return receiptId;
    }

    public void setReceiptId(Integer receiptId) {
        this.receiptId = receiptId;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public Pole getPole() {
        return pole;
    }

    public void setPole(Pole pole) {
        this.pole = pole;
    }

    public Users getUser() {
        return user;
    }

    public void setUser(Users user) {
        this.user = user;
    }

    public String getHasDefects() {
        return hasDefects;
    }

    public void setHasDefects(String hasDefects) {
        this.hasDefects = hasDefects;
    }


    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }
}
